﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="video.aspx.cs" Inherits="video" %>
<%@ Import   Namespace= "System.Data" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%--<script type="text/javascript">
    <!--
        if ((screen.width == 1280) && (screen.height == 768)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1280) && (screen.height == 800)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1280) && (screen.height == 960)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1024) && (screen.height == 768)) {
            document.body.background = "backgound.png";
        }
        else {
            document.body.background = "backgound_Lo.png";
        }
//-->
    </script>--%>

    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    
    <center> <table>
           <tr>
                <td class="tableCss1" width="60%" align="left" style="text-align: left">
                <asp:Label ID="Label1" runat="server"  CssClass="teksts">Latvian video</asp:Label>    
     
     <asp:Repeater ID="Repeater1" runat="server" 
         OnItemDataBound="Repeater1_ItemDataBound">
<ItemTemplate>
    <asp:Table id="Table1" runat="server" Width="100%" BorderWidth="0">
                                     
        <asp:TableRow>
            <asp:TableCell>
            <%-- itas ir Jaunais variants !--%>
           <asp:HyperLink ID="BildeLink1" runat="server" CssClass="img"></asp:HyperLink>
                <asp:HyperLink ID="TitleLink" runat="server" CssClass="virsrakstsLink"></asp:HyperLink>
                       <div class="tableCss2">
                       <%# DataBinder.Eval(Container.DataItem, "MazaisRaksts") %></div>
            <div class="tableCssDat">
            <%# DataBinder.Eval(Container.DataItem, "autors") %> - dat: <%# DataBinder.Eval(Container.DataItem, "datums", "{0:d}")%> - <%#DataBinder.Eval(Container.DataItem,"SadaluLists") %></div>
           
             </asp:TableCell> 
          </asp:TableRow>
    
       
    </asp:Table>
    </ItemTemplate>
  <AlternatingItemTemplate>
    <asp:Table id="Table1" runat="server" Width="100%">
         
        <asp:TableRow >
            <asp:TableCell CssClass="tableCss1">
                 <asp:HyperLink ID="BildeLink2" runat="server" CssClass="img"></asp:HyperLink>
                <asp:HyperLink ID="TitleLink" runat="server" CssClass="virsrakstsLink"></asp:HyperLink>
         <div class="tableCss2">  <%# DataBinder.Eval(Container.DataItem, "MazaisRaksts") %></div>
            <br />
           <div class="tableCssDat">
            <%# DataBinder.Eval(Container.DataItem, "autors") %> - dat: <%# DataBinder.Eval(Container.DataItem, "datums", "{0:d}")%> - <%#DataBinder.Eval(Container.DataItem,"SadaluLists") %></div>           
          </asp:TableCell> 
            
        </asp:TableRow>                   
                
                
    </asp:Table>
   
  </AlternatingItemTemplate>  
  <SeparatorTemplate>
       <hr align="center" width="100%" size="1" style="color: #CCCCCC"  />
</SeparatorTemplate>

    </asp:Repeater>

<div align="center">  
    <asp:Label ID="lblCurrentPage" runat="server" Text="LblCurentPage" CssClass="teksts"></asp:Label> <br />
               <br />
            <asp:HyperLink ID="HyperLink_first" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_mi10" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_mi4" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_mi1" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_curent" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_plu1" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_plu4" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_plu10" runat="server">HyperLink</asp:HyperLink>&nbsp
            <asp:HyperLink ID="HyperLink_Last" runat="server">HyperLink</asp:HyperLink>
            <br />  
<br />
<asp:HyperLink ID="HyperLink1" runat="server" CssClass="saite"  NavigateUrl="http://mpora.com/_janis/">parbmx video`s - http://mpora.com/_janis/</asp:HyperLink> <br />
<asp:HyperLink ID="HyperLink2" runat="server" CssClass="saite" NavigateUrl="http://www.vimeo.com/user457114">parbmx video`s - http://www.vimeo.com/user457114</asp:HyperLink> <br />
<asp:HyperLink ID="HyperLink3" runat="server" CssClass="saite" NavigateUrl="http://www.vimeo.com/skipz">parbmx video`s - http://www.vimeo.com/skipz</asp:HyperLink><br />
    </div>
   
                
                
                </td>
                
                                <td colspan="2" rowspan="4" width="280px" align="center" 
                    style="vertical-align: top">
                

                
                </td>
                
                
                </tr>
                </table>
                </center>
    
    
    

   
   
    
</asp:Content>

